package com.gitee.qdbp.general.thirdpart.api.trade.model;

import java.util.Date;
import com.gitee.qdbp.able.model.reusable.ExtraData;
import com.gitee.qdbp.general.thirdpart.enums.TradeState;

/**
 * 支付响应回传参数
 *
 * @author zhaohuihua
 * @version 171020
 */
public class PaidResponse extends ExtraData {

    /** 版本序列号 **/
    private static final long serialVersionUID = 1L;

    // 支付宝回调参数:
    // gmt_create=2017-10-19 16:29:18
    // charset=utf-8
    // gmt_payment=2017-10-19 16:30:28
    // notify_time=2017-10-19 16:35:37
    // subject=测试ZHH
    // sign=IYTGkzr7uBixlS+9RU1A7w/eeh36hpiTGposBlhFtnBf90KFDF...
    // buyer_id=2088002537412480
    // invoice_amount=0.02
    // version=1.0
    // notify_id=8c9082e86e7388da547891ce9e7b645jpe
    // fund_bill_list=[{"amount":"0.02","fundChannel":"ALIPAYACCOUNT"}]
    // notify_type=trade_status_sync
    // out_trade_no=20171019162842194
    // total_amount=0.02
    // trade_status=TRADE_SUCCESS
    // trade_no=2017101921001004480287226922
    // auth_app_id=2016112603310015
    // receipt_amount=0.02
    // point_amount=0.00
    // app_id=2016112603310015
    // buyer_pay_amount=0.02
    // sign_type=RSA2
    // seller_id=2088121610953211

    /** 订单编号 **/
    private String orderId;
    /** 支付单编号 **/
    private String paymentId;
    /** 订单金额(元) **/
    private Double totalAmount;
    /** 实收金额(元) **/
    private Double receiptAmount;
    /** 收款人编号 **/
    private String payeeId;
    /** 收款人账号 **/
    private String payeeAccount;
    /** 付款人编号 **/
    private String payerId;
    /** 付款人账号 **/
    private String payerAccount;
    /** 付款时间 **/
    private Date payTime;
    /** 交易状态 **/
    private TradeState tradeState;
    /** 交易流水号 **/
    private String tradeSerialCode;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPaymentId() {
        return paymentId;
    }

    public void setPaymentId(String paymentId) {
        this.paymentId = paymentId;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Double getReceiptAmount() {
        return receiptAmount;
    }

    public void setReceiptAmount(Double receiptAmount) {
        this.receiptAmount = receiptAmount;
    }

    public String getPayeeId() {
        return payeeId;
    }

    public void setPayeeId(String payeeId) {
        this.payeeId = payeeId;
    }

    public String getPayeeAccount() {
        return payeeAccount;
    }

    public void setPayeeAccount(String payeeAccount) {
        this.payeeAccount = payeeAccount;
    }

    public String getPayerId() {
        return payerId;
    }

    public void setPayerId(String payerId) {
        this.payerId = payerId;
    }

    public String getPayerAccount() {
        return payerAccount;
    }

    public void setPayerAccount(String payerAccount) {
        this.payerAccount = payerAccount;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public TradeState getTradeState() {
        return tradeState;
    }

    public void setTradeState(TradeState tradeState) {
        this.tradeState = tradeState;
    }

    public String getTradeSerialCode() {
        return tradeSerialCode;
    }

    public void setTradeSerialCode(String tradeSerialCode) {
        this.tradeSerialCode = tradeSerialCode;
    }

}
